package com.njtoyo.taxi.admin.service.platform;

import com.njtoyo.taxi.admin.rest.wrapper.platform.resource.ResourceCreateWrapper;
import com.njtoyo.taxi.admin.rest.wrapper.platform.resource.ResourceUpdateSortWrapper;
import com.njtoyo.taxi.admin.rest.wrapper.platform.resource.ResourceUpdateWrapper;
import com.taxi.entity.common.RestResult;

public interface ResourceService {
    RestResult getList();

    RestResult createResource(ResourceCreateWrapper resourceCreateWrapper);

    RestResult updateResource(Long id, ResourceUpdateWrapper request);

    RestResult updateResourceSort(Long parentId, ResourceUpdateSortWrapper request);

    RestResult deleteResource(Long id);
}
